package cn.itsource.dd.mapper;

import cn.itsource.basic.mapper.BaseMapper;
import cn.itsource.dd.domain.Detail;
import cn.itsource.dd.query.TypeQuery;

import java.util.List;

public interface DetailMapper extends BaseMapper<Detail> {
    void deleteByTypeId(Long id);

    Long findTotals(TypeQuery typeQuery);

    List<Detail> findAllById(TypeQuery typeQuery);
}
